<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <script src="https://as.alipayobjects.com/g/component/antbridge/1.1.4/antbridge.min.js"></script>
</head>
<body>
  <p>请使用支付宝打开本页面</p>
  <script>
  window.onload = function(){
    ant.call('getTitleAndStatusbarHeight', function (result){
      alert(JSON.stringify(result));
    });
  }
  </script>
</body>
</html>